//
//  PGCalendarItem.h
//  TestCalendar
//
//  Created by Pill Gong on 14-2-17.
//  Copyright (c) 2014年 Pill Gong. All rights reserved.
//

#import <UIKit/UIKit.h>

@class PGCalendarItem;

@protocol PGCalendarItemDelegate <NSObject>

@optional
- (void)itemPressed:(PGCalendarItem *)item;

@end

@interface PGCalendarItem : UIView

@property (nonatomic, assign) id<PGCalendarItemDelegate> delegate;

@property (nonatomic, strong) UILabel *dateLabel;
@property (nonatomic, strong) UILabel *chinaDate;
@property (nonatomic, strong) NSDate *itemDate;
@property (nonatomic, strong) UIImageView *todayImage;
@property (nonatomic, assign) int eventCount;
@property (nonatomic, assign) BOOL isToday;
@property (nonatomic, strong) UIColor *stateColor;

@end
